<a id="a" target="_blank" href="chrome://downloads"></a>
<script>
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.setPopupBlockingEnabled(false);
}
// The navigation should be blocked before a new window is opened.
a.click();
</script>
